package org.logMonitor.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by lenovo on 2018/3/3.
 */
@Controller
@RequestMapping("/show")//url:模块/资源/{}/细分
public class ShowMainController {
    @RequestMapping(value = "/main",method = RequestMethod.GET)
    public  String ToShowMain (Model model){
        return "showFrame";
    }
    @RequestMapping(value = "/title",method = RequestMethod.GET)
    public  String ToShowTitle (Model model){
        return "title";
    }
}
